package com.umeng.analytics.pro;

import android.content.Context;

public class ca {
    public static class a extends h {
        private final long a;
        private be b;

        public a(be arg3) {
            this.a = 15000;
            this.b = arg3;
        }

        public boolean a(boolean arg5) {
            boolean v0 = System.currentTimeMillis() - this.b.c >= 15000 ? true : false;
            return v0;
        }
    }

    public static class b extends h {
        private bh a;
        private be b;

        public b(be arg1, bh arg2) {

            this.b = arg1;
            this.a = arg2;
        }

        public boolean a() {
            return this.a.d();
        }

        public boolean a(boolean arg7) {
            boolean v0 = System.currentTimeMillis() - this.b.c >= this.a.b() ? true : false;
            return v0;
        }
    }

    public static class c extends h {
        private long a;
        private long b;

        public c(int arg3) {

            this.b = 0;
            this.a = ((long)arg3);
            this.b = System.currentTimeMillis();
        }

        public boolean a() {
            boolean v0 = System.currentTimeMillis() - this.b < this.a ? true : false;
            return v0;
        }

        public boolean a(boolean arg5) {
            boolean v0 = System.currentTimeMillis() - this.b >= this.a ? true : false;
            return v0;
        }
    }

    public static class d extends h {
        public d() {

        }

        public boolean a(boolean arg1) {
            return arg1;
        }
    }

    public static class e extends h {
        private static long a;
        private static long b;
        private long c;
        private be d;

        static {
            a = 90000;
            b = 86400000;
        }

        public e(be arg1, long arg2) {

            this.d = arg1;
            this.a(arg2);
        }

        public void a(long arg4) {
            this.c = arg4 < a || arg4 > b ? a : arg4;
        }

        public static boolean a(int arg4) {
            return (((long) arg4)) >= a;
        }

        public boolean a(boolean arg5) {
            boolean v0 = System.currentTimeMillis() - this.d.c >= this.c ? true : false;
            return v0;
        }

        public long b() {
            return this.c;
        }
    }

    public static class f extends h {
        private long a;
        private be b;

        public f(be arg3) {

            this.a = 86400000;
            this.b = arg3;
        }

        public boolean a(boolean arg5) {
            boolean v0 = System.currentTimeMillis() - this.b.c >= this.a ? true : false;
            return v0;
        }
    }

    public static class g extends h {
        public g() {

        }

        public boolean a(boolean arg2) {
            return true;
        }
    }

    public static class h {
        public h() {

        }

        public boolean a(boolean arg2) {
            return true;
        }

        public boolean a() {
            return true;
        }
    }

    public static class i extends h {
        private Context a;

        public i(Context arg2) {

            this.a = null;
            this.a = arg2;
        }

        public boolean a(boolean arg2) {
            return bv.k(this.a);
        }
    }

    public static class j extends h {
        private final long a;
        private be b;

        public j(be arg3) {

            this.a = 10800000;
            this.b = arg3;
        }

        public boolean a(boolean arg5) {
            boolean v0 = System.currentTimeMillis() - this.b.c >= 10800000 ? true : false;
            return v0;
        }
    }

    public static final int a = 0;
    public static final int b = 1;
    static final int c = 2;
    static final int d = 3;
    public static final int e = 4;
    public static final int f = 5;
    public static final int g = 6;
    public static final int h = 8;

    public ca() {

    }

    public static boolean a(int arg1) {
        boolean v0;
        switch(arg1) {
            case 0: 
            case 1: 
            case 2: 
            case 3: 
            case 4: 
            case 5: 
            case 6: 
            case 8: {
                v0 = true;
                break;
            }
            default: {
                v0 = false;
                break;
            }
        }

        return v0;
    }
}

